(function(){

	//3.用户注册与登录
	var User = require("../user/_con");
	var UserAddressCon = require("../user_address/_con");
	var bus_a = require("./2.商家进货").bus_a

	var user_a = new User({
		name:"Gaubee",
		email:"gaubeebangeel@gmail.com",
		password:"123456"
	});

	User.login({
		name:"Gaubee",
		password:"123456"
	});

	//添加收获地址
	var ua_id = user_a.addAddress({
		province:"福建省",
		town:"福州市",
		county:"闽侯县",
		postcode:"31111041",
		detail:"上街1号",
		name:"柯肇丰",
		mobilenumber:"18046048662",
	});
	//设置默认收货地址
	user_a.setDefaultAddress(ua_id);

	module.exports = {
		bus_a:bus_a,
		user_a:user_a
	};
}());
